<?php

/**
 * invoice actions.
 *
 * @package    billingSystem
 * @subpackage invoice
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class invoiceActions extends sfActions
{
  public function executeIndex(sfWebRequest $request)
  {
    $this->invoices = Doctrine_Core::getTable('Invoice')->findByPid(array($this->getUser()->getAttribute('partnerid')));
//
//    echo "<pre>ssssssssssssssss".$this->getUser()->getAttribute('partnerid');
//    print_r($this->invoices);
//        echo "</pre>";
//exit;
  }
}
